package com.luo.chengrui.module.crbpm.convert.flowable;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.luo.chengrui.module.crbpm.controller.admin.flowable.vo.*;
import com.luo.chengrui.module.crbpm.dal.dataobject.flowable.ActReModelDO;

/**
 * 流程模型 Convert
 *
 * @author luodz
 */
@Mapper
public interface ActReModelConvert {

    ActReModelConvert INSTANCE = Mappers.getMapper(ActReModelConvert.class);

    ActReModelDO convert(ActReModelCreateReqVO bean);

    ActReModelDO convert(ActReModelUpdateReqVO bean);

    ActReModelRespVO convert(ActReModelDO bean);

    List<ActReModelRespVO> convertList(List<ActReModelDO> list);

    PageResult<ActReModelRespVO> convertPage(PageResult<ActReModelDO> page);

    List<ActReModelExcelVO> convertList02(List<ActReModelDO> list);

}
